package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-19
 */
@TableName("nb_hsgt")
public class Hsgt extends Model<Hsgt> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_sales_name")
    private String gSalesName;
    @TableField("g_sales_code")
    private int gSalesCode;
    @TableField("g_scode")
    private String gScode;
    @TableField("g_bmoney")
    private Double gBmoney;
    @TableField("g_smoney")
    private Double gSmoney;
    @TableField("g_pbuy")
    private Double gPbuy;
    @TableField("g_tdate")
    private Date gTdate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgSalesName() {
        return gSalesName;
    }

    public void setgSalesName(String gSalesName) {
        this.gSalesName = gSalesName;
    }

    public int getgSalesCode() {
        return gSalesCode;
    }

    public void setgSalesCode(int gSalesCode) {
        this.gSalesCode = gSalesCode;
    }

    public String getgScode() {
        return gScode;
    }

    public void setgScode(String gScode) {
        this.gScode = gScode;
    }

    public Double getgBmoney() {
        return gBmoney;
    }

    public void setgBmoney(Double gBmoney) {
        this.gBmoney = gBmoney;
    }

    public Double getgSmoney() {
        return gSmoney;
    }

    public void setgSmoney(Double gSmoney) {
        this.gSmoney = gSmoney;
    }

    public Double getgPbuy() {
        return gPbuy;
    }

    public void setgPbuy(Double gPbuy) {
        this.gPbuy = gPbuy;
    }

    public Date getgTdate() {
        return gTdate;
    }

    public void setgTdate(Date gTdate) {
        this.gTdate = gTdate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Hsgt{" +
        "id=" + id +
        ", gSalesName=" + gSalesName +
        ", gSalesCode=" + gSalesCode +
        ", gScode=" + gScode +
        ", gBmoney=" + gBmoney +
        ", gSmoney=" + gSmoney +
        ", gPbuy=" + gPbuy +
        ", gTdate=" + gTdate +
        "}";
    }
}
